package net.sudot.chess.business.dto;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 游戏详情
 *
 * @author tangjialin on 2018-03-13.
 */
@Getter
@Setter
@Accessors(chain = true)
public class RankDTO implements Serializable {
    /** 客户主键 */
    private Long customerId;
    /** 昵称 */
    private String nickname;
    /** 头像 */
    private String head;
    /** 累计牌局数 */
    private Number sumTotal;
    /** 当日牌局数 */
    private Number dayTotal;

    public RankDTO() {
    }

    public RankDTO(Long customerId, String nickname, String head, Number sumTotal) {
        this.customerId = customerId;
        this.nickname = nickname;
        this.head = head;
        this.sumTotal = sumTotal;
    }

}
